package org.aurora.core.server.scheduler;

import org.aurora.common.delay.queue.DelayTask;
import org.aurora.model.entity.ScheduleTask;

public class DelaySchedulerTaskWrapper extends DelayTask {
    private ScheduleTask schedulerTask;

    public DelaySchedulerTaskWrapper(long delayTimeMillis, ScheduleTask schedulerTask) {
        super(delayTimeMillis);
        this.schedulerTask = schedulerTask;
    }

    public ScheduleTask getSchedulerTask() {
        return schedulerTask;
    }

    public void setSchedulerTask(ScheduleTask schedulerTask) {
        this.schedulerTask = schedulerTask;
    }
}
